package com.ease.model;

import java.io.Serializable;
import java.util.List;

public class DatabaseTable implements Serializable {
	/**
	 *
	 */
	private static final long serialVersionUID = -4313603083686136638L;

	public static final String TABLE_NAME = "TABLE_NAME";

	public static final String COMMENTS = "COMMENTS";

	private String tableName;

	private String owner;

	private String comments;

	private List<DatabaseColumn> databaseColumns;

	public DatabaseTable() {
	}

	// public DatabaseTable(String tableName, List<DatabaseColumn>
	// databaseColumns) {
	// this.setTableName(tableName);
	// this.setColumns(databaseColumns);
	// }

	/**
	 * @return the owner
	 */
	public String getOwner() {
		return owner;
	}

	/**
	 * @param owner
	 *            the owner to set
	 */
	public void setOwner(String owner) {
		this.owner = owner;
	}

	/**
	 * @return the comments
	 */
	public String getComments() {
		return comments;
	}

	/**
	 * @param comments
	 *            the comments to set
	 */
	public void setComments(String comments) {
		this.comments = comments;
	}

	/**
	 * @return the tableName
	 */
	public String getTableName() {
		return tableName;
	}

	/**
	 * @param tableName
	 *            the tableName to set
	 */
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	/**
	 * @return the columns
	 */
	public List<DatabaseColumn> getColumns() {
		return databaseColumns;
	}

	/**
	 * @param databaseColumns
	 *            the columns to set
	 */
	public void setColumns(List<DatabaseColumn> databaseColumns) {
		this.databaseColumns = databaseColumns;
	}

}
